<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
<title>HH Version</title>
<style>@import url(coUA.css);</style>
<link disabled rel="stylesheet" href="htmlhelp.css">
</HEAD>

<BODY>
<h1>HH Version command</h1>

<h2>Purpose</h2>

<p>Displays the version number of the HTML Help ActiveX control (Hhctrl.ocx) in a dialog box.

<p>This command helps users to determine whether they are using the most current version of HTML Help.</p>

<p>This command can be used with either a compiled help (.chm) file or uncompiled HTML files.</p>

<h2>Syntax</h2>
<p><pre><code>
<br>&lt;PARAM  name="Command" value="HH Version"&gt;
<br>[&lt;PARAM name="Button"  value="[Text: <i>Button text</i>|Bitmap: <i>Bitmap file path</i>|Icon:<i>Icon file path</i>]"&gt;]
<br>[&lt;PARAM name="Font"    value="<i><i>Facename[, point size[, charset[, color[, PLAIN BOLD ITALIC UNDERLINE]]]]</i></i>"&gt;]
<br>[&lt;PARAM name="Text"    value="Text: <i>Link text</i>"&gt;]
</pre></code></p>

<br>
<table border=1 cellpadding=0 cellspacing=0 width=100%>
<tr valign=top>
<th width=25%>
<b>Property</b>
</th>
<th>
<b>Description</b>
</th>
</tr>

<tr valign=top>
<td>
<a href="ocx_pbutton.htm">Button</a>
</td>
<td>
Specifies the button style. Optional.
</td>
</tr>

<tr valign=top>
<td>
<a href="ocx_pcommand.htm">Command</a>
</td>
<td>
Calls the <b>HH Version</b> command.
</td>
</tr>

<tr valign=top>
<td>
<a href="ocx_pfont.htm">Font</a>
</td>

<td>
Specifies the font attributes. Optional.
</td>
</tr>

<tr valign=top>
<td>
<a href="ocx_ptext.htm">Text</a>
</td>

<td>
Specifies the link text. Optional.
</td>
</tr>
</table>


<h2>Example</h2>
<p><pre><code>
&lt;OBJECT
<br>  id=MyControl
<br>  type=&quot;application/x-oleobject&quot;
<br>  classid=&quot;clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11&quot;
<br>  codebase=&quot;HHCTRL.ocx#Version=4,72,8252,0&quot;
<br>  width=100
<br>  height=100
<br>&gt;
<br>  &lt;PARAM name=&quot;Command&quot; value=&quot;HH Version&quot;&gt;
<br>  &lt;PARAM name=&quot;Button&quot; value=&quot;Text:Click for version number&quot;&gt;
<br>&lt;/OBJECT&gt;
</pre></code></p>


<OBJECT
  id=version type="application/x-oleobject"
  classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"

>
  <PARAM name="Command" value="HH Version">
</OBJECT>

<h2><a name="textlink">Sample HH Version command</a></h2>

<p>Click <a href="JavaScript:version.Click()">here</a> to see the version number of the HTML Help ActiveX control used in this topic.</p>

<h2>Comments</h2>
<ul>
<li>The <b>Button</b> parameter is omitted when this command is invoked by a script.</li>
</ul>

<br>
<table border="0" cellpadding="0" cellspacing="4">
<tr>
<td valign="top"><a href="ocx_commands.htm"><img src="proced.gif" alt="link to overview topic" border="0"></a>
</td>
<td><a href="ocx_commands.htm">About commands</A>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>

</BODY>
</HTML>
